package com.qqtech.qquan.community.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class CommunityBase extends BaseDomain {
	/**
	 * 是否开通抽奖
	 */
	private Integer isLottery;

	/**
	 * 是否开通
	 */
	private Integer isOpen;
	/**
	 * 社区广告图片
	 */
	private String img;

	// columns START
	/** 社区名称 */
	private java.lang.String name;

	/** 社区拼音 */
	private java.lang.String chnSpell;

	/** 社区地址 */
	private java.lang.String address;

	/** 社区logo */
	private java.lang.String logo;

	/** 经度 */
	private BigDecimal x;

	/** 纬度 */
	private BigDecimal y;

	/** 区Id */
	private java.lang.Integer districtId;
	/** 市Id */
	private java.lang.Integer cityId;
	/** 创建用户Id */
	private java.lang.Integer creatorId;
	/** 村长用户Id */
	private java.lang.Integer agentId;
	/** 社区状态CommunityStatusEnum:1-待确认;2-已确认;9-已失效 */
	private java.lang.Integer status;
	/** 审核时间 */
	private java.sql.Timestamp auditAt;
	/** 是否显示:1-是;2-否 */
	private java.lang.Integer isShow;
	/** 简介 */
	private java.lang.String resume;
	/** 用于本社区订单提醒的手机号 */
	private java.lang.String orderPhone;

	// columns END
	public CommunityBase() {
	}

	public CommunityBase(java.lang.Integer id) {
		this.id = id;
	}

	public java.lang.String getAddress() {
		return this.address;
	}

	public java.lang.Integer getAgentId() {
		return this.agentId;
	}

	public java.sql.Timestamp getAuditAt() {
		return this.auditAt;
	}

	public java.lang.String getChnSpell() {
		return this.chnSpell;
	}

	public java.lang.Integer getCityId() {
		return this.cityId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}

	public java.lang.Integer getDistrictId() {
		return this.districtId;
	}

	public String getImg() {
		return img;
	}

	public Integer getIsLottery() {
		return isLottery;
	}

	public Integer getIsOpen() {
		return isOpen;
	}

	public java.lang.Integer getIsShow() {
		return this.isShow;
	}

	public java.lang.String getLogo() {
		return this.logo;
	}

	public java.lang.String getName() {
		return this.name;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}

	public BigDecimal getX() {
		return this.x;
	}

	public BigDecimal getY() {
		return this.y;
	}

	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public void setAgentId(java.lang.Integer agentId) {
		this.agentId = agentId;
	}

	public void setAuditAt(java.sql.Timestamp auditAt) {
		this.auditAt = auditAt;
	}

	public void setChnSpell(java.lang.String chnSpell) {
		this.chnSpell = chnSpell;
	}

	public void setCityId(java.lang.Integer cityId) {
		this.cityId = cityId;
	}

	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public void setDistrictId(java.lang.Integer districtId) {
		this.districtId = districtId;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public void setIsLottery(Integer isLottery) {
		this.isLottery = isLottery;
	}

	public void setIsOpen(Integer isOpen) {
		this.isOpen = isOpen;
	}

	public void setIsShow(java.lang.Integer isShow) {
		this.isShow = isShow;
	}

	public void setLogo(java.lang.String logo) {
		this.logo = logo;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public void setX(BigDecimal x) {
		this.x = x;
	}

	public java.lang.String getResume() {
		return resume;
	}

	public void setResume(java.lang.String resume) {
		this.resume = resume;
	}

	public void setY(BigDecimal y) {
		this.y = y;
	}

	public java.lang.String getOrderPhone() {
		return orderPhone;
	}

	public void setOrderPhone(java.lang.String orderPhone) {
		this.orderPhone = orderPhone;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
